package com.dkd.manage.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 工单详情实体类
 */
@ApiModel(description = "工单详情实体类，用于表示工单与商品补货的详细信息")
public class TaskDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 工单详情ID */
    @ApiModelProperty(value = "工单详情ID", example = "1")
    private Long detailsId;

    /** 工单ID */
    @ApiModelProperty(value = "工单ID", example = "1001")
    @Excel(name = "工单Id")
    private Long taskId;

    /** 货道编号（对应商品的货道位置） */
    @ApiModelProperty(value = "货道编号", example = "A01")
    @Excel(name = "货道编号")
    private String channelCode;

    /** 补货期望容量（期望补货的数量） */
    @ApiModelProperty(value = "补货期望容量", example = "50")
    @Excel(name = "补货期望容量")
    private Long expectCapacity;

    /** 商品ID */
    @ApiModelProperty(value = "商品ID", example = "2001")
    @Excel(name = "商品Id")
    private Long skuId;

    /** 商品名称 */
    @ApiModelProperty(value = "商品名称", example = "矿泉水")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String skuName;

    /** 商品图片链接 */
    @ApiModelProperty(value = "商品图片链接", example = "http://example.com/image.jpg")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String skuImage;

    // Getter 和 Setter 方法
    public Long getDetailsId() {
        return detailsId;
    }

    public void setDetailsId(Long detailsId) {
        this.detailsId = detailsId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public Long getExpectCapacity() {
        return expectCapacity;
    }

    public void setExpectCapacity(Long expectCapacity) {
        this.expectCapacity = expectCapacity;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuImage() {
        return skuImage;
    }

    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }
}